package files;

import java.io.FileNotFoundException;

import de.dnb.basics.Constants;
import de.dnb.gnd.parser.RecordReader;

public class Datashop extends RecordReader {

	public Datashop(String string) throws FileNotFoundException {
		super(string);
	}

	public static void main(String[] args) throws FileNotFoundException {
		Datashop dataS = new Datashop(
				"D:\\texte\\dnb-datashop_2014-3-6T11_31_36.dat");
		dataS.setRecordDelimiter(Constants.GS);
		dataS.setLineDelimiter(Constants.RS);

		while (dataS.hasNext()) {
			System.out.println("--------------");
			System.out.println(dataS.next());
		}

	}

}
